﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Input;
using System.Windows;

namespace DBSync
{
    public class ShowWindowCommand : ICommand
    {
        public void Execute(object parameter)
        {
            //MessageBox.Show("Clicked");
            MainWindow window=MainWindow.Instance;
            window.Show();
            window.WindowState = WindowState.Normal;
        }
        public bool CanExecute(object parameter)
        {
            return true;
        }

        public event EventHandler CanExecuteChanged;
    }
}
